package com.swc.property;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @author huyupeng
 * @date 2020/9/15 17:49
 */
@Component
public class SecretKeyProperty implements Serializable {

    @Value("${api.rsa.publicKey}")
    private String rsaPublicKey;

    @Value("${api.rsa.privateKey}")
    private String rasPrivateKey;

    public String getRsaPublicKey() {
        return rsaPublicKey;
    }

    public String getRsaPrivateKey() {
        return rasPrivateKey;
    }

}
